package com.qingke.oo;

import com.qingke.oo.enm.Drinktype;

public abstract class Drink {
	public static Drinktype getDrink(Drinktype drinktype){
		switch(drinktype){
		case COFFEE : return Drinktype.COFFEE;
		case MILK : return Drinktype.MILK;
		case BEER : return Drinktype.BEER;
		}
		return Drinktype.COFFEE;
	}
	
	
	
}
